package com.lightningtrade.service;

import com.lightningtrade.domain.SysReview;
import com.lightningtrade.util.AjaxResult;

import java.util.List;

public interface SysReviewService {
    AjaxResult addReview(SysReview sysReview);

    AjaxResult getReviewsByUser(int userId);

    AjaxResult getReviewsByProduct(int productId);

    AjaxResult getReviewsByOrder(long orderId);

    AjaxResult deleteReview(int id);
}